package com.neuedu.hisboot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author jaun
 * @since 2025-07-04
 */
@Data
public class Prescription implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID主键
     */
    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    /**
     * 病历ID
     */
    private Integer medicalID;

    /**
     * 挂号ID
     */
    private Integer registID;

    /**
     * 开立医生ID
     */
    private Integer userID;

    /**
     * 处方名称
     */
    private String prescriptionName;

    /**
     * 开立时间
     */
    private LocalDateTime prescriptionTime;

    /**
     * 处方状态
     */
    private Integer prescriptionState;
}
